Uploading a document schema
attachment Element
Description
The information within an attachment sequence contains the information for the document to be uploaded.
Namespace (none)
Diagram
duration Element filedata Element subdir Element name Element Sequence attachment Element
Overview
attachment
The information within an attachment sequence contains the information for the document to be uploaded.
Sequence
name xs:string
The name of the file to be uploaded.
subdir xs:string
The name of a subdirectory for the file to be stored in.  If this is not required, do not use this field.
filedata xs:string
The file data to be uploaded in base64 format.
duration xs:string
The number of days that the file is to be stored in the host location for.
Source
<xs:element name="attachment" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element type="xs:string" name="name" />
      <xs:element type="xs:string" name="subdir" />
      <xs:element type="xs:string" name="filedata" />
      <xs:element type="xs:string" name="duration" />
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also
api_request ElementUploading a document schema

 

 


© 2013 All Rights Reserved.

Send comments on this topic.